package org.feiye.studyday17.ink;

public class Printer {
	private String brand;

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public Printer(String brand) {
		this.brand = brand;
	}

	Ink ink;
	Paper paper;

	public void SetInk(Ink i) {
		this.ink = i;
	}

	public void SetPaper(Paper p) {
		this.paper = p;
	}

	@Override
	public String toString() {
		return "使用" + ink.getColor() + "墨盒在" + paper.getSize() + "纸上打印";
	}
}
